package com.regex;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class RegexMatcheUtils {
	


	public static boolean match(String str, String pattern) {
		Pattern r = Pattern.compile(pattern);
		Matcher m = r.matcher(str);
		boolean matches = m.matches();
		System.out.println(matches);
		return matches;
	}

}